import React, { Component } from 'react';
import { StyleSheet, SafeAreaView,Text } from 'react-native';
import ScrollableTabView, {DefaultTabBar, } from 'react-native-scrollable-tab-view';


export default class Quotation extends Component {
  render() {
    console.log('quo')

    return (
      <SafeAreaView style={styles.container}>
        <ScrollableTabView
          // style={{marginTop: 20, }}
          initialPage={0}
          renderTabBar={() => <DefaultTabBar />}
        >
          <Text tabLabel='自选'>My</Text>
          <Text tabLabel='行情'>favorite</Text>
        </ScrollableTabView>
      </SafeAreaView>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    // backgroundColor: 'black'
  }
});
